package com.it;

import com.it.config.User_01Config;
import com.it.pojo.User_01;
import com.it.pojo.User_02;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Title: 心动的offer->13k
 * @Author 帅宏编码-coding
 * @Date 2025/1/20 星期一 16:06
 */
public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(User_01Config.class);

        User_02 user_02 = context.getBean(User_02.class);
        user_02.print();

    }
}